package ii.zjf.week4.count;

public class Count {

    private int count = 0;

    public int add() {
        try {
            Thread.sleep(1000);
        } catch (InterruptedException ignored) {
        }
        count++;
        return count;
    }

    public int getCount() {
        return count;
    }

}
